import { Module } from '@nestjs/common';
import { ConfigService } from './config.service';
import { ConfigController } from './config.controller';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Config } from '@/modules/system/config/entities/config.entity';

@Module({
    imports: [
        TypeOrmModule.forFeature([Config]),
    ],
    controllers: [ConfigController],
    providers: [ConfigService],
    exports: [ConfigService, TypeOrmModule],
})
export class ConfigModule {
}
